package cn.tedu.egmybatis2.mapper;

import cn.tedu.egmybatis2.pojo.Product;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ProductMapper {
    int insert(Product product);
    int deleteById(int id);
    int updateById(int id);
    Product selectById(int id);
    List<Product> selectAll();
}
